Start creating your agent
- Navigate to the Agent Library.
- Select the Create agent button.
- In the modal that appears, select Build with Natural Language.
- Enter your instructions in the natural language panel:
- Describe the steps this agent should follow to complete this task as well as how the final output should be generated.
- If you would like the agent to use the knowledge from a specific document that is indexed by Glean, you can either enter the document’s URL or tag it using ’@’.
- You can specify input fields by enclosing them in double brackets (e.g. “Summarize the [[Zendesk ticket]]”).
- The Agent Builder will automatically generate your agent’s steps based on your instructions.
Example instructions
Create a task based agent that asks the user to enter a Jira ticket and then suggests how to resolve the ticket using the contents of relevant playbooks:Refining your agent
After the initial draft is generated, you have multiple options for refining your agent:- Continue with natural language: Click “Open Panel” in the upper left corner to access the natural language panel and provide additional instructions to modify your agent’s steps.
- Manual editing: Switch to manual editing at any time to make precise changes to individual steps, models, triggers, or configurations.
- Enhance prompts: Use the Enhance prompt feature on individual steps to apply best practices and improve instruction quality.